come to terms with
to reach an agreement with somebody; to find a way of living or working together
The enemy was eventually forced to come to terms.
to accept something unpleasant by learning to deal with it
She is still coming to terms with her son's death.
e.g.